#define _CRT_SECURE_NO_WARNINGS 1
#include "pai.h"

void Print(int* arr, int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d  ", arr[i]);
	}
}

int main()
{
	int arr[10] = {0, 5, 2, 8, 9, 6, 3, 7, 4, 1 };
	Qsort(arr, 0, sizeof(arr) / sizeof(arr[0]) - 1);
	Print(arr, sizeof(arr) / sizeof(arr[0]));
	return 0;
}